package bird.array;

/**
 * @author sijunqiang
 * @data 2021/5/22 14:18
 * @description:
 */
public class Student {

    private String name;
    private String score;


    public Student(String name, String score) {
        this.name = name;
        this.score = score;
    }

    @Override
    public String toString() {
        String format = String.format("student: name: %s score: %s\n", name, score);
        return format;
    }

    public static void main(String[] args) {
        Array<Student> array=new Array<>();
        array.addFirst(new Student("西奥名","100"));
        array.addFirst(new Student("西奥名","100"));
        array.addFirst(new Student("西奥名","100"));

        System.out.println("array = " + array);
    }
}
